# Template file for 'libktorrent'
pkgname=libktorrent
version=1.3.1
revision=2
build_style=cmake
hostmakedepends="automoc4"
makedepends="gmp-devel boost-devel qt-devel phonon-devel libgcrypt-devel qca-devel kdelibs-devel"
short_desc="A BitTorrent protocol implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ktorrent.pwsp.net"
distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.bz2"
checksum=2fe11ccb4bf2028c3da11e52cde890f1b3a90560e548eac89a4f8e1558b09725

libktorrent-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/share/apps/cmake
		vmove "usr/lib/*.so"
	}
}
