{% set name = "xcb-util-keysyms" %}
{% set version = "0.4.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://xcb.freedesktop.org/dist/xcb-util-keysyms-{{ version }}.tar.bz2
  sha256: 0ef8490ff1dede52b7de533158547f8b454b241aa3e4dcca369507f66f216dd9

build:
  number: 1
  skip: true  # [not linux]
  run_exports:
    - {{ pin_subpackage('xcb-util-keysyms', max_pin='x.x') }}

requirements:
  build:
    - {{ compiler('c') }}
    - make
    - pkg-config
  host:
    - libxcb
    - xorg-xproto

test:
  commands:
    - test -f ${PREFIX}/lib/libxcb-keysyms.so

about:
  home: https://xcb.freedesktop.org/
  license: MIT
  license_family: MIT
  license_file: COPYING
  summary: 'Standard X key constants and conversion to/from keycodes'

extra:
  recipe-maintainers:
    - scopatz
