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

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

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

sha512sums="b1aadc13e4cc494bb7b8bdb1ef96215abb72dfe2ec398d4c383984a2540323117d18a940c675ed0266cbbdf14958525975083a9fe35e93b7885c8f0216362d84  aspell5-ku-0.20-1.tar.bz2"