DESCRIPTION="hunspell - spellchecker, forked from myspell" 
HOMEPAGE="http://hunspell.sourceforge.net/" 
SRC_URI="http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="3121aaf3e13e5d88dfff13fb4a5f1ab8"
BUILD()
{
	cd hunspell-1.3.2
	libtoolize --force --copy --install
	aclocal -I m4
	autoconf
	automake
	touch po/t-hu.gmo
	touch po/t-it.gmo
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
		--localedir=`finddir B_COMMON_DATA_DIRECTORY`/locale
	make
}

INSTALL()
{
	cd hunspell-1.3.2
	make install
}

LICENSE="GNU GPL v2
	GNU LGPL v2.1
	MPL v1.1"

COPYRIGHT="2007-2011 Hunspell developers et al.
	2002-2008 László Németh (Hunspell)
	2001-2002 Kevin Hendricks (MySpell)"
