# Template file for 'lyx'
pkgname=lyx
version=2.3.7r1
revision=1
build_style=gnu-configure
configure_args="--enable-qt5 --without-included-mythes --without-included-boost"
hostmakedepends="pkg-config bc qt5-devel"
makedepends="file-devel boost-headers mythes-devel enchant2-devel qt5-svg-devel"
depends="virtual?tex GraphicsMagick python3"
short_desc="Document Processor WYSIWYM Editor & Latex frontend"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://www.lyx.org/Home"
distfiles="https://ftp.lip6.fr/pub/lyx/stable/2.3.x/${pkgname}-${version/r/-}.tar.gz"
checksum=910bb48d9b19c0cfeb6ec845eb318515f33a63ea7892a99b2e7b67c6b518bacd
python_version=3

post_install() {
	vdoc "${FILESDIR}/README.voidlinux"
}
