1SUMMARY="A text-based IRC client"
2DESCRIPTION="bitchx is an IRC client written in the C programming language.\
3It uses a text-mode user interface.
4Features:
5* Built-in ANSI color.
6* Ease of use. BitchX adds dozens of useful command aliases to reduce typing.
7* Built-in notify, protection, bot, and shit lists.
8* Built-in mass commands and tools.
9* Extended set of DCC commands and built-in CDCC offering.
10* Built-in link looker.
11* Extended scripting functionality, including functions found nowhere else.
12* Huge installed user base, an abundance of scripts, and a dedicated help \
13channel (#BitchX on EFNET).
14* Built-in screen client, allowing you to detach and re-attach to an irc session."
15HOMEPAGE="http://www.bitchx.org/"
16COPYRIGHT="1990 Michael Sandroff
17	1991, 1992 Troy Rollo
18	1992-1996 Matthew Green
19	1993, 1997 Jeremy Nelson
20	1994 Jake Khuon
21	1995, 1998 Jeremy Nelson and others (\"EPIC Software Labs\")
22	1996-2004 Colten Edwards et al.
23	2008-2014 Kevin Easton et al."
24LICENSE="BSD (3-clause)"
25REVISION="3"
26SOURCE_URI="https://download.sourceforge.net/bitchx/bitchx-$portVersion.tar.gz"
27CHECKSUM_SHA256="2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2"
28PATCHES="bitchx-$portVersion.patchset"
29
30ARCHITECTURES="all ?x86"
31
32PROVIDES="
33	bitchx = $portVersion
34	cmd:bitchx = $portVersion
35	cmd:bitchx_$portVersion = $portVersion
36	cmd:scr_bx = $portVersion
37	"
38REQUIRES="
39	haiku
40	lib:libcrypto
41	lib:libncursesw
42	lib:libssl
43	"
44
45BUILD_REQUIRES="
46	haiku_devel
47	devel:libcrypto
48	devel:libncursesw
49	devel:libssl
50	"
51BUILD_PREREQUIRES="
52	cmd:autoreconf
53	cmd:gcc
54	cmd:grep
55	cmd:make
56	cmd:pkg_config
57	"
58
59defineDebugInfoPackage bitchx \
60	"$binDir"/BitchX-$portVersion
61
62BUILD()
63{
64	autoreconf -fi
65	export LDFLAGS="-lnetwork -lbsd"
66
67	runConfigure ./configure \
68		--with-plugins
69	make $jobArgs
70}
71
72INSTALL()
73{
74	make install
75}
76