# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=aspell-dict-rw
pkgver=0.50.0
_pkgver=${pkgver%.*}-${pkgver#*.*.}
pkgrel=0
pkgdesc="Kinyarwanda dictionaries for aspell"
url="http://aspell.net"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends="aspell"
makedepends="debianutils-which"
source="https://ftp.gnu.org/gnu/aspell/dict/rw/aspell-rw-$_pkgver.tar.bz2"
builddir="$srcdir/aspell-rw-$_pkgver"

build() {
	./configure --vars DESTDIR="$pkgdir"
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a987fe90b091c5f8d4c28713ad50ca917d2a8fd120df55bd413e3112913cb7e9e8fdc740994aa881bbfdd9ac38fa5ebe728c9e62e25a0e7cc8eac13c2380c56a  aspell-rw-0.50-0.tar.bz2"