# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=aspell-dict-en
pkgver=2018.04.16.0
_pkgver=${pkgver%.*}-${pkgver#*.*.*.}
pkgrel=0
pkgdesc="English dictionaries for aspell"
url="http://aspell.net/"
arch="noarch"
options="!check" # no tests
license="BSD-3-Clause AND Public-Domain"
depends="aspell"
makedepends="debianutils-which"
source="ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-$_pkgver.tar.bz2"
builddir="$srcdir/aspell6-en-$_pkgver"

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

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

sha512sums="70447f5f11a6a2d96e58376ac06e78add59e4eb237ca40ed0752f481dabe1a6e9e227fd20ba95a5612de1bb4357cd65760a31c94efe66f8499b9ed031e9846c2  aspell6-en-2018.04.16-0.tar.bz2"