SUMMARY="Slovak dictionary for aspell program/library"
DESCRIPTION="Slovak dictionary for the GNU Aspell program, an open source \
spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2002-2009 Zdenko Podobný
	2008 Pavel Chalmovianský, Július Pastierik"
LICENSE="GNU LGPL v2.1
	GNU GPL v2
	MPL v1.1"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/sk/aspell6-sk-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="c6a80a2989c305518e0d71af1196b7484fda26fe53be4e49eec7b15b76a860a6"
SOURCE_DIR="aspell6-sk-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_sk = $portVersion
	"
REQUIRES="
	haiku
	aspell >= 0.60
	"

BUILD_REQUIRES="
	devel:libaspell
	"
BUILD_PREREQUIRES="
	haiku_devel
	cmd:basename
	cmd:make
	cmd:prezip_bin
	cmd:which
	"

BUILD()
{
	./configure
	make
}

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