SUMMARY="English dictionary for aspell program/library"
DESCRIPTION="
This is the English dictionary for the GNU Aspell program, an open source \
spell checker. Its advantage is its superiority of suggesting possible \
replacements for a misspelled wordx than most other spellcheck programs. \
Aspell is also able to maintain support for more than one langague at a time \
and can check documents in UTF-8.
"
LICENSE="GNU GPL v2"
COPYRIGHT="2000-2011 Kevin Atkinson"
HOMEPAGE="http://aspell.net" 
SRC_URI="ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
CHECKSUM_MD5="beba5e8f3afd3ed1644653bb685b2dfb"

PROVIDES="
	aspell_en = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	aspell >= 0.60
	"

BUILD_REQUIRES="
	devel:libaspell
	"

BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:make
	cmd:prezip_bin
	cmd:which
	cmd:basename
	"

SOURCE_DIR="aspell6-en-7.1-0"

BUILD()
{
	./configure
	make
}

INSTALL()
{
	spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
	make dictdir=$spellDir datadir=$spellDir install
}
