You should classify as PURCHASED. Technically, when the RSUs vested, it was compensation income reported on your W2 (on which you pay the regular income tax)- it acted as a barter in a sense. When you donate it to the charity, you will use this value as your basis to determine your charitable deduction.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"