DESCRIPTION="Irssi is a command line irc client"
HOMEPAGE="http://www.irssi.org/" 
SOURCE_URI="http://www.irssi.org/files/irssi-0.8.15.tar.gz"
CHECKSUM_MD5="870db8e319f640c2bf446c30d0c24ef6"
REVISION="1"

STATUS_HAIKU="untested"
DEPEND="sys-devel/gettext >= 0.18.1
	dev-util/pkgconfig  >= 0.25
	dev-libs/glib >= 2.24.2"

BUILD()
{	
	cd irssi-0.8.15
	libtoolize --force --copy --install
	autoreconf -i
	sed -i.bak  's/\$withval\/include\/ncurses.h/\/boot\/develop\/headers\/3rdparty\/ncurses.h/g' configure
	./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-ncurses=`finddir B_COMMON_DIRECTORY`
	make
		
}

INSTALL()
{
	cd irssi-0.8.15
	make install
}

LICENSE="GNU GPL v2"
COPYRIGHT="1999-2012 Timo Sirainen"
