# Template file for 'belcard'
pkgname=belcard
version=1.0.2
revision=1
wrksrc="${pkgname}-${version}-0"
build_style=cmake
makedepends="bctoolbox-devel belr-devel"
short_desc="C++ library to manipulate VCard standard format"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://linphone.org"
distfiles="https://www.linphone.org/releases/sources/belcard/belcard-${version}.tar.gz"
checksum=1350f63bd183e5d8b05afa7673726362a55e196e7bde600a58cb421d28cd3e46

belcard-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision} belr-devel"
	pkg_install() {
		vmove usr/bin
		vmove "usr/lib/*.so"
		vmove "usr/lib/*a"
		vmove usr/include
		vmove usr/share/Belcard/cmake
	}
}
