# Template file for 'kdepim-apps-libs'
pkgname=kdepim-apps-libs
version=18.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kconfig"
makedepends="grantlee5-devel kcontacts-devel akonadi-contacts-devel libkleo-devel
 grantleetheme-devel libkdepim-devel pimcommon-devel"
short_desc="KDE PIM mail related libraries"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/kdepim-apps-libs-${version}.tar.xz"
checksum=10ac6453b8bd961c6ad0a2fde1e7f4893bec25fe13307f34bb1fb6d82ce8b15a

kdepim-apps-libs-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/qt5/mkspecs
		vmove "usr/lib/*.so"
	}
}
