pkgbase = mupdf
	pkgdesc = Lightweight PDF and XPS viewer
	pkgver = 1.24.6
	pkgrel = 1
	url = https://mupdf.com/
	arch = x86_64
	license = AGPL-3.0-or-later
	makedepends = clang
	makedepends = curl
	makedepends = desktop-file-utils
	makedepends = freeglut
	makedepends = freetype2
	makedepends = git
	makedepends = glu
	makedepends = gumbo-parser
	makedepends = harfbuzz
	makedepends = jbig2dec
	makedepends = leptonica
	makedepends = libjpeg
	makedepends = libx11
	makedepends = libxext
	makedepends = mesa-libgl
	makedepends = openjpeg2
	makedepends = openssl
	makedepends = python
	makedepends = swig
	makedepends = tesseract
	makedepends = zlib
	options = staticlibs
	source = git+https://github.com/ArtifexSoftware/mupdf.git#tag=1.24.6
	source = git+https://github.com/ArtifexSoftware/mujs.git
	source = git+https://github.com/ArtifexSoftware/thirdparty-lcms2.git
	source = git+https://github.com/ArtifexSoftware/extract.git
	source = mupdf.desktop
	source = mupdf.xpm
	source = mupdf.pc
	source = mupdf-1.23.9-cpp_ldflags.patch
	source = mupdf-1.23.9-install_targets.patch
	sha256sums = ebfae2960b6fd8c920c70b9ae726ed428a98bf8afc49b5184cf91ba16e9db446
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = SKIP
	sha256sums = ccff66979249bd4ab4ba8918660f194eb90eb0ae231b16e36a6cecdcf471883f
	sha256sums = a435f44425f5432c074dee745d8fbaeb879038ec1f1ec64f037c74662f09aca8
	sha256sums = bb797ac84edc9856fa828f87e9be684714b7ab2c8bca3372a81fbfa0da018ac4
	sha256sums = 152222c0bc066404d9e38be7abbba20748b0a4bbc9cb30403d19e3b176ab257f
	sha256sums = ceb2b16a12bf193d514969f995dfca4c2d12d489c2690928db2db4afe09f6c8c

pkgname = libmupdf
	pkgdesc = Library for Lightweight PDF and XPS viewer
	depends = freetype2
	depends = gcc-libs
	depends = glibc
	depends = gumbo-parser
	depends = harfbuzz
	depends = jbig2dec
	depends = leptonica
	depends = libjpeg
	depends = openjpeg2
	depends = tesseract
	depends = zlib

pkgname = mupdf
	pkgdesc = Lightweight PDF and XPS viewer
	depends = desktop-file-utils
	depends = glibc
	depends = libmupdf
	depends = libx11
	depends = libxext

pkgname = mupdf-gl
	pkgdesc = Lightweight PDF and XPS viewer with OpenGL backend
	depends = desktop-file-utils
	depends = glibc
	depends = glut
	depends = libgl
	depends = libmupdf
	depends = openssl
	provides = mupdf=1.24.6
	conflicts = mupdf

pkgname = mupdf-tools
	pkgdesc = Tools for Lightweight PDF and XPS viewer
	depends = glibc
	depends = libmupdf
	depends = openssl

pkgname = python-mupdf
	pkgdesc = Library for Lightweight PDF and XPS viewer - Python bindings
	depends = gcc-libs
	depends = glibc
	depends = libmupdf
	depends = python
