SUMMARY="Convert scans of handwritten notes to beautiful, compact PDFs"
DESCRIPTION="Noteshrink is an utility that is used to convert scans of notes to compact PDFs."
HOMEPAGE="https://github.com/mzucker/noteshrink"
COPYRIGHT="2016 Matt Zucker"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/mzucker/noteshrink/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="2a29c09768973e688b693b61337c6c49384e8123cf88824dba335cc8c4ed2ca8"

ARCHITECTURES="!any"
# Doesn't work on gcc2hybrid - missing dependencies.

PROVIDES="
	noteshrink = $portVersion
	cmd:noteshrink
	"
REQUIRES="
	haiku
	imagemagick
	numpy_python >= 1.10
	pillow_python
	scipy_python
	setuptools_python
	"

INSTALL()
{
	mkdir -p $binDir
	cp noteshrink.py $binDir/noteshrink
}
