# Template file for 'xfce4-windowck-plugin'
pkgname=xfce4-windowck-plugin
version=0.4.4
revision=2
build_style=gnu-makefile
hostmakedepends="intltool xfce4-dev-tools exo-devel python3-devel glib-devel gettext-devel ImageMagick"
makedepends="libwnck2-devel xfce4-panel-devel xorg-server-devel"
depends="xfce4-panel>=4.10"
short_desc="Puts the titlebar of a maximized window into a panel"
maintainer="skurtix <skurtix@github.com>"
homepage="https://github.com/cedl38/xfce4-windowck-plugin"
license="GPL-3"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=92b6c9e199d32cf96619c31e2cfac19e375575d581e78fa043f9f6a59c1df13f

pre_configure() {
	autogen_args="--prefix=/usr"

	if [ "$CROSS_BUILD" ]; then
	autogen_args+="--build=${XBPS_CROSS_TRIPLET} --host=${XBPS_CROSS_TRIPLET}"
	fi

	xdt-autogen ${autogen_args}
}
