# Template file for 'poedit'
pkgname=poedit
version=2.0.4
revision=2
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-3.0"
hostmakedepends="pkg-config"
makedepends="icu-devel db-devel gtkspell-devel wxWidgets-devel boost-devel Lucene++-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Cross-platform gettext catalogs (.po files) editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.poedit.net/"
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
checksum=3887ab76dfa4607f77be00073277a8c5f060006a014b97d8fe05ebd99aadc61d

CPPFLAGS="-DUCHAR_TYPE=uint16_t"

post_install() {
	vlicense COPYING
}
