# Template file for 'texmaker'
pkgname=texmaker
version=6.0.2
revision=1
build_style=cmake
hostmakedepends="qt6-base qt6-tools"
makedepends="qt6-base-devel qt6-qt5compat-devel qt6-declarative-devel
 qt6-webengine-devel qt6-base-private-devel"
short_desc="Free cross-platform LaTeX editor"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="http://www.xm1math.net/texmaker/index.html"
distfiles="http://www.xm1math.net/$pkgname/$pkgname-$version.tar.bz2"
checksum=25ecbb16d156ed1528b31511d37c9da7858a2def328b87f17fc877f57f5139cf

case "$XBPS_TARGET_MACHINE" in
	arm*|i686*)
		broken="fails to build on musl or to resolve missing qt6-webengine"
		;;
esac
