def parse_poem(file):
    """ Parse a POEM file and return its id, title, authors, and status.

    Parameters
    ----------
    file : str
        The name of a POEM markdown file in the root of the repo.

    Returns
    -------
    entries : dict
        A dictionary containing the following keys for information about
        the POEM. ('id', 'title', 'authors', 'status')
    """
    entries = {'status': 'active'}

    with open(file, 'r') as poem:
        lines = poem.readlines()

    for line in lines:
        lu = line.upper().strip()
        if lu.startswith('POEM ID:'):
            entries['id'] = line.split(':', 1)[-1].strip()
        elif lu.startswith('TITLE:'):
            entries['title'] = line.split(':', 1)[-1].strip()
        elif lu.startswith('AUTHORS:') or lu.startswith('AUTHOR:'):
            entries['authors'] = line.split(':', 1)[-1].strip()
        if lu.startswith('- [X] ACTIVE'):
            entries['status'] = 'active'
        if lu.startswith('- [X] REQUESTING DECISION'):
            entries['status'] = 'requesting decision'
        if lu.startswith('- [X] ACCEPTED'):
            entries['status'] = 'accepted'
        if lu.startswith('- [X] REJECTED'):
            entries['status'] = 'rejected'
        if lu.startswith('- [X] INTEGRATED'):
            entries['status'] = 'integrated'

    return entries