# Template file for 'lxappearance'
pkgname=lxappearance
version=0.6.4
revision=2
build_style=gnu-configure
configure_args="$(vopt_enable dbus) $(vopt_enable gtk3)"
hostmakedepends="pkg-config intltool automake libtool gettext-devel glib-devel"
makedepends="$(vopt_if gtk3 gtk+3-devel gtk+-devel) $(vopt_if dbus dbus-glib-devel)"
depends="desktop-file-utils"
short_desc="LXDE Theme Switcher"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lxde.org/"
distfiles="https://github.com/lxde/lxappearance/archive/refs/tags/${version}.tar.gz"
checksum=9f067a8a126b9779ba12648c76136d9ba3e7ec7920c568df7819d128fdf39e03

build_options="gtk3 dbus"
build_options_default="dbus gtk3"

pre_configure() {
	autoreconf -fi
}
