description="Adjusts the color temperature of your screen according to your surroundings."
url="http://jonls.dk/redshift/"

packager="tnut <tnut@nutyx.org"
contributors="Greg, Pierre B., Remy, Fanch, Jayce"

makedepends=(intltool python2 geoclue2 xorg-libdrm libxcb xorg-libxxf86vm
             python2-gobject librsvg python2-xdg gtk3)
run=(geoclue2)

name=redshift
version=1.12
release=3

source=(https://github.com/jonls/redshift/releases/download/v$version/$name-$version.tar.xz)

build(){
  cd $name-$version
  ./configure --prefix=/usr \
  --enable-drm --enable-randr \
  --enable-vidmode --enable-geoclue2
  make
  make DESTDIR=$PKG install
}
