{% set name = "xcb-util-wm" %}
{% set version = "0.4.1" %}

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

source:
  url: https://xcb.freedesktop.org/dist/xcb-util-wm-{{ version }}.tar.bz2
  sha256: 28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f

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

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

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

about:
  home: https://xcb.freedesktop.org/
  license: MIT
  license_family: MIT
  license_file: COPYING
  summary: 'Client and window-manager helpers for EWMH and ICCCM'

extra:
  recipe-maintainers:
    - scopatz
