{% set name = "bedtools" %}
{% set version = "2.27.1" %}

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

source:
  url: https://github.com/arq5x/bedtools2/releases/download/v{{ version }}/bedtools-{{ version }}.tar.gz
  sha256: c8c2acbaf3f9cb92dcf8e5cd59af6b31ae9c4598efb786ba6c84f66ca72fafd9
  patches:
    - 0001-Makefile-append-CXXFLAGS.patch

build:
  number: 5

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

test:
  commands:
    - bedtools

about:
  home: http://bedtools.readthedocs.org/
  license: GPL v2
  summary: A powerful toolset for genome arithmetic

extra:
  identifiers:
    - biotools:bedtools
