# Template file for 'libgravatar'
pkgname=libgravatar
version=21.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
 gettext kcoreaddons kconfig"
makedepends="pimcommon-devel"
short_desc="KDE PIM library providing Gravatar support"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/libgravatar-${version}.tar.xz"
checksum=418358a941a6dd5549cc31a2e6e9bf9ec02ad45634d92dec3acb6601645bee10

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