# Template file for 'kdepimlibs'
pkgname=kdepimlibs
version=4.11.4
revision=1
short_desc="KDE PIM Libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/kde/kdepimlibs"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3b6ad270ce235dc49ed0935b13599aff66beec6284d08852504ae78680a785d1

build_style=cmake
configure_args="-DKDE4_BUILD_TESTS=OFF"

hostmakedepends="cmake automoc4 pkg-config"
makedepends="boost-devel nepomuk-core-devel gpgme-devel qjson-devel libical-devel
 kdelibs-devel>=${version} phonon-devel libxslt-devel soprano-devel libldap-devel
 akonadi-devel cyrus-sasl shared-mime-info"
depends="shared-mime-info"

kdepimlibs-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/gpgmepp
	}
}