# Description: Ekran görüntüsü alma uygulaması
# URL: https://github.com/naelstrof/maim
# Packager: milisarge
# Depends on: cmake slop freetype xorg-libxfixes xorg-libxrandr libjpeg-turbo xorg-libxcomposite

name=maim
version=4.4.62
release=1
source=(https://github.com/naelstrof/maim/archive/v$version.tar.gz)

build() {
	cd $name-$version
	cmake -DJPEG_INCLUDE_DIR:PATH=C:/MinGW/include/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
	make
	make DESTDIR=$PKG install
}
