# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aspell-en
pkgver=2020.12.07
pkgrel=0
_lang=${pkgname##*-}
_name=${pkgname%%-*}6-$_lang-$pkgver-0
pkgdesc="English dictionary for aspell"
url="http://aspell.net/"
arch="noarch"
license="custom"
options="!check" # No test suite
makedepends="aspell-dev"
source="https://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
builddir="$srcdir"/$_name

build() {
	./configure
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -D -m644 Copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="9ed4e64891242e5e5e7d6ac82a0d1fda3bdc5116bd9d926e787b8f381080b357915f0c9b39cae04c1da0f2ec6e47ffe30a584f7f3bf7d455a46e8518a7858547  aspell6-en-2020.12.07-0.tar.bz2"
