# Contributor: Nulo <alpine@nulo.in>
# Maintainer: Nulo <alpine@nulo.in>
pkgname=aspell-es
pkgver=1.11
pkgrel=0
_lang=${pkgname##*-}
_name=${pkgname%%-*}6-$_lang-$pkgver-2
pkgdesc="Spanish 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="
5d0159f24d6bff43db682a4beb25e82dd362c205acf7c9e0d728808c0e54a8a566befe26316f384099c72e6c429713f8ad7d2dc66a8f04a15e1d5a9cfe2290d8  aspell6-es-1.11-2.tar.bz2
"
