# Template file for 'bluefish'
pkgname=bluefish
version=2.2.12
revision=2
build_style=gnu-configure
configure_args="--enable-spell-check --disable-update-databases
 --disable-xml-catalog-update $(vopt_enable python)"
pycompile_dirs="/usr/share/bluefish"
hostmakedepends="pkg-config intltool gdk-pixbuf-devel libxml2-devel
 automake libtool gettext-devel glib-devel"
makedepends="libxml2-devel gtk+3-devel enchant2-devel gucharmap-devel
 $(vopt_if python python-devel)"
depends="hicolor-icon-theme desktop-file-utils xmlcatmgr
 $(vopt_if python python3)"
short_desc="Powerful HTML editor for experienced web designers and programmers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="http://bluefish.openoffice.nl/"
distfiles="http://www.bennewitz.com/bluefish/stable/source/bluefish-${version}.tar.bz2"
checksum=0df9905ba2c601cd767fa53e147969e9c90bc0cc4c005c4011c150b248979e6a
python_version=3
lib32disabled=yes
xml_entries="nextCatalog /usr/share/xml/bluefish/catalog.xml --"

build_options="python"
build_options_default="python"

pre_configure() {
	autoreconf -fi
}
