# Template file for 'kdepimlibs'
pkgname=kdepimlibs
version=4.12.5
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=c6749903bcf46df07e419c02c42c6a8a32f29778de190a83c7f3ad0b7b335f22

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
	}
}
