easyblock = 'ConfigureMake'

name = 'libXau'
version = '1.0.8'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """The libXau package contains a library implementing the X11 Authorization Protocol.
This is useful for restricting client access to the display."""

toolchain = {'name': 'intel', 'version': '2018'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [
    ('pkg-config', '0.29.2'),
    ('xproto', '7.0.28'),
    ('xorg-macros', '1.19.0'),
]

sanity_check_paths = {
    'files': ['lib/libXau.a', 'lib/libXau.%s' % SHLIB_EXT],
    'dirs': [],
}

moduleclass = 'vis'