# Template file for 'belcard'
pkgname=belcard
version=5.3.106
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=TRUE -DENABLE_UNIT_TESTS=FALSE"
makedepends="bctoolbox-devel belr-devel"
short_desc="C++ library to manipulate VCard standard format"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/belcard/-/archive/${version}/belcard-${version}.tar.gz"
checksum=5ff5339defc6a91fc756511f1b5266373354d03538b537be3ca6f696c96989c6

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