# Template file for 'workrave'
pkgname=workrave
version=1.10.16
revision=1
_realversion="${version//./_}"
wrksrc="${pkgname}-${_realversion}"
nocross=yes # gobject-introspection
build_style=gnu-configure
configure_args="--disable-static --disable-gnome --disable-gsettings
 $(vopt_enable pulseaudio pulse)"
hostmakedepends="automake autoconf-archive gettext-devel intltool pkg-config
 gobject-introspection python-cheetah"
makedepends="gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
 $(vopt_if pulseaudio pulseaudio-devel)"
short_desc="Program that assists in the recovery and prevention of RSI"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3"
homepage="http://www.workrave.org/"
distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
checksum=4368306db0d06e76a3a90fc8e81b3648c1218259833b01cdc6899b1e98e5895c

build_options="pulseaudio"

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
