# Template file for 'qtermwidget'
pkgname=qtermwidget
version=0.6.0
revision=1
build_style=cmake
configure_args="-DUSE_QT5=1 -DBUILD_DESIGNER_PLUGIN=0"
hostmakedepends="cmake"
makedepends="qt5-devel"
short_desc="The qterminal widget"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/qterminal/qtermwidget"
distfiles="https://github.com/qterminal/qtermwidget/releases/download/${version}/qtermwidget-${version}.tar.xz"
checksum=1ea148e67c3e28a53ca24a3c91532507ddd6c5d28611467e7a67334d945cd010

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