SUMMARY="A text console IRC client"
DESCRIPTION="Rhapsody is a text console IRC client for Unix operating \
systems. It is small, fast, portable, easy to use and full featured. \
An intuitive menu-driven user interface makes rhapsody ideal for \
beginner to intermediate users."
HOMEPAGE="http://rhapsody.sourceforge.net/"
COPYRIGHT="2006 Adrian Gonera"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://sourceforge.net/projects/rhapsody/files/rhapsody/Rhapsody%20IRC%200.28b/rhapsody_0.28b.tgz"
CHECKSUM_SHA256="606d767f9bd4c810343b1ce94492f4aaf993552edee090ec881627b29294b4dd"
SOURCE_DIR="rhapsody-0.28b"
PATCHES="rhapsody_irc-$portVersion.patch"

ARCHITECTURES="all"

PROVIDES="
	rhapsody_irc = $portVersion
	cmd:rhapsody
	"
REQUIRES="
	haiku
	lib:libncurses
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libncurses
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

BUILD()
{
	./configure -i $binDir -d $docDir
	make clean
	make $jobArgs
}

INSTALL()
{
	make install
}
