# Template file for 'libktorrent'
pkgname=libktorrent
version=2.1
revision=3
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python doxygen"
makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel kcrash-devel gmp-devel qca-qt5-devel"
short_desc="A BitTorrent protocol implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://ktorrent.pwsp.net"
distfiles="${KDE_SITE}/ktorrent/5.1/${pkgname}-${version}.tar.xz"
checksum=3eefdcceec73410c558e82d7be22eb2ed18679e9ab64f34cc100b54e186fe26f

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