# Template file for 'hunspell-en_US'
pkgname=hunspell-en_US
version=2018.04.16
revision=1
hostmakedepends="unzip"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="SCOWL" # not in SPDX
short_desc="American English en_US dictionary for hunspell"
homepage="http://wordlist.aspell.net/dicts"
distfiles="${SOURCEFORGE_SITE}/wordlist/speller/${version}/${pkgname}-${version}.zip"
checksum=4efdba6438b916a61c4a12933952f458564f2f2af3db9ab3c27f328b37b30ba2
create_wrksrc=yes
noarch=yes

do_install() {
	sed -i 's/SET UTF8/SET UTF-8/g' en_US.aff
	vinstall en_US.aff 644 /usr/share/hunspell
	vinstall en_US.dic 644 /usr/share/hunspell
	vlicense README_en_US.txt SCOWL
}
