#Maintainer: Dimitris Tzemos <djemos~at~slackel~dot~gr>

pkgname=qbittorrent
pkgver=3.0.4
pkgrel=1rl
url="http://qbittorrent.sourceforge.net"
source=(http://downloads.sourceforge.net/qbittorrent/$pkgname-$pkgver.tar.xz)
docs=("AUTHORS" "Changelog" "NEWS" "TODO" "COPYING" "INSTALL" "README")

slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
"qBittorrent (a C++ / Qt4 Bittorrent Client)"
"The qBittorrent project was created in March 2006 with the idea"
"of developing a new Bittorrent client for Linux (and possibly"
"other systems) that would be easy to use, good looking, and"
"featureful but lightweight."
"qBittorrent is a Free Software released under the GNU GPL license."
"The author is Christophe Dumez, a French student in an engineer"
"school (UTBM), in IT departement."
""
"Homepage: http://qbittorrent.sourceforge.net"

)

build() {
	cd ${SRC}/$pkgname-$pkgver
	
	./configure \
	--prefix=/usr \
	--qtdir=/usr/lib${LIBDIRSUFFIX}/qt || return 1

	make || return 1
	make install INSTALL_ROOT=$PKG || return 1

}