easyblock = 'ConfigureMake'

name = 'fontconfig'
version = '2.13.0'
versionsuffix = '-libpng-1.6.34'

homepage = 'http://www.freedesktop.org/software/fontconfig'
description = """Fontconfig is a library designed to provide system-wide font configuration, customization and
application access."""

toolchain = SYSTEM

source_urls = ['http://www.freedesktop.org/software/fontconfig/release/']
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('freetype', '2.9.1', versionsuffix),
    ('util-linux', '2.32'),
    ('expat', '2.2.0'),
]

builddependencies = [
    ('gperf', '3.1'),
]

configopts = '--disable-docs '

moduleclass = 'vis'