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

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

source:
  url: https://github.com/arq5x/bedtools2/releases/download/v{{ version }}/bedtools-{{ version }}.tar.gz
  sha256: 333ad1ffcdc6e36005b4d6c9290677986ee97871cff92ed821c1b643d38150b8

build:
  number: 1

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

test:
  commands:
    - bedtools

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

extra:
  identifiers:
    - biotools:bedtools
    - usegalaxy-eu:bedtools_intersectbed
