{% set version = "1.1.13" %}
{% set major_version = "1.1" %}
{% set sha1 = "f61e65a7616a3492815d18689c202d0685fe167d" %}
{% set md5 = "4cb87da2dba05540afce162f34b3a9a6" %}

package:
  name: pbzip2
  version: {{ version }}

source:
  fn: pbzip2-{{ version }}.tar.gz
  url: https://launchpad.net/pbzip2/{{ major_version }}/{{ version }}/+download/pbzip2-{{ version }}.tar.gz
  sha1: {{ sha1 }}
  md5: {{ md5 }}

build:
  number: 2
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
  host:
    - bzip2
  run:
    - bzip2

test:
  commands:
    - pbzip2 --version

about:
  home: http://compression.ca/pbzip2/
  license: pbzip2
  license_file: COPYING
  summary: PBZIP2 is a parallel implementation of the bzip2 block-sorting file compressor

extra:
  recipe-maintainers:
    - shahin
    - marcelm
