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.,Remy,Fanch,Jayce,Rems"

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

name=redshift
version=1.12
release=6

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
}
