# Template file for 'merkaartor'
pkgname=merkaartor
version=0.18.3
revision=2
build_style=qmake
hostmakedepends="qt5-qmake qt5-declarative-devel libgdal-tools"
makedepends="libgdal-devel proj-devel qt5-declarative-devel qt5-svg-devel
 qt5-tools-devel qt5-webkit-devel"
short_desc="Openstreetmap map editor"
maintainer="John <johnz@posteo.net>"
license="GPL-2"
homepage="http://merkaartor.be"
distfiles="https://github.com/openstreetmap/merkaartor/archive/${version}.tar.gz"
checksum=d6b3e4d982b2c7b82331bc5bc8d993d733c443250f02919c3c4dbd6924e6e947

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-tools-devel qt5-svg-devel qt5-webkit-devel"
fi
