makedepends=(xorgproto libxcb xorg-xtrans xorg-util-macros)
run_devel=(xorgproto)

description="libx11, library for client X"
url="http://xorg.freedesktop.org"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=xorg-libx11
_name=libx11-libX11
alias=(libX11)
version=1.8.13
release=1
source=(https://gitlab.freedesktop.org/xorg/lib/libx11/-/archive/libX11-${version}/libx11-libX11-${version}.tar.gz)

build() {
  cd ${_name}-$version

  ./autogen.sh
  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --localstatedir=/var

  make
  make DESTDIR=$PKG install
}
