Where did altair the star get its name?

The name comes form the Arabic phrase النسر الطائر, an-nasr aṭ-ṭā'ir (English: The flying eagle - Aquila), which was the asterism that the ancient astronomers saw the star in.