#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=rtorrent
pkgver=0.8.6
pkgrel=1gv
arch=x86_64
source=(http://libtorrent.rakshasa.no/downloads/rtorrent-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "rtorrent.rc")
url=http://libtorrent.rakshasa.no/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"rtorrent - a BitTorrent client for ncurses"
"rtorrent is a BitTorrent client for ncurses, using the libtorrent"
"library. The client and library is written in C++ with emphasis on"
"speed and efficiency, while delivering equivalent features to those"
"found in GUI based clients in an ncurses client."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xmlrpc-c
	make || return 1
	make install DESTDIR=$startdir/pkg
}