Flirting | Define Flirting at Dictionary.com
1550s, originally "to turn up one's nose, sneer at," then "to rap or flick, as with the fingers" (1560s). The noun is first attested 1540s, from the verb, with the meaning "stroke of wit." It's possible that the original word was imitative, along the line...